package org.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "training_log", autoResultMap = true)
public class TrainingLog {
    // 用户id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    // 培养对象id
    private Long userId;
    // 培养阶段
    private Integer status;
    // 培养类型
    private String trainingType;
    // 记录日期
    private LocalDate recordTime;
    // 学习地点
    private String learningPlace;
    // 培养内容
    private String trainingContent;
    // 考核评价
    private String trainingReview;
    // 考核分数
    private Integer trainingScore;
    // 培养人
    private String trainingTeacher;
    // 学时
    private Integer trainingHour;
    // 创建时间
    private LocalDateTime createTime;
    // 更新时间
    private LocalDateTime updateTime;
}
